// 
// $Rev:: 22            $:  Revision of last commit
// $Author:: rvhaverm@g#$:  Author of last commit
// $Date:: 2010-07-25 1#$:  Date of last commit
// 
package agents.messages;

import agents.agents.Receptionist;
import agents.interfaces.IAgent;

import com.ibm.aglet.Message;

public class GraphicsServiceStarted extends BaseMessage
{
    private String _host;
    
    public GraphicsServiceStarted(String host)
    {
	_host = host;
    }
    
    public void setMessage(Message message)
    {
	super.setMessage(message);
	
	_host = (String) getMessage().getArg("host");
	
    }
    
    public Message createMessage()
    {
	Message msg = super.createMessage();
	msg.setArg("host", _host);
	return msg;
    }

    @Override
    public void sentTo(Receptionist agent)
    {
	// TODO: add to list if agent is HostBillBoardReceptionist
	
    }
    
    
}
